//
//  CustomCell.m
//  aTest
//
//  Created by 黄杰 on 15/11/5.
//  Copyright © 2015年 黄杰. All rights reserved.
//

#import "CustomCell.h"
#import "CustomModel.h"

@interface CustomCell ()
@property (weak, nonatomic) IBOutlet UILabel *time;
@property (weak, nonatomic) IBOutlet UILabel *content;
@property (weak, nonatomic) IBOutlet UILabel *name;

@end

@implementation CustomCell

- (void)awakeFromNib
{
    self.contentView.bounds = [UIScreen mainScreen].bounds;
}

- (void)setModel:(CustomModel *)model
{
    _model = model;
    
    self.time.text = model.add_time;
    self.content.text = model.content;
    self.name.text = model.teacher_name;
}

@end
